package com.uyayo.framework.pagehelper;

/**
 * uyayo-framework-pagehelper
 * 排序字段和数据库列名转换映射类
 * Created by hfj on 2017/11/16.
 */
public class SortOrderMapping {
    /**
     * 属性
     */
    private String property;

    /**
     * 列名
     */
    private String column;

    /**
     * 别名前缀
     */
    private String prefix;

    public SortOrderMapping(String property, String column) {
        super();
        this.property = property;
        this.column = column;
    }

    public SortOrderMapping(String property, String column, String prefix) {
        this.property = property;
        this.column = column;
        this.prefix = prefix;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public String getColumn() {
        return column;
    }

    public void setColumn(String column) {
        this.column = column;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }
}
